package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class FactorItem {
    private static final long serialVersionUID = 1L;

    /** 因子类别id */
    private String factorCategoryId;

    /** 因子类别标题 */
    @Excel(name = "因子类别标题")
    private String factorCategoryTitle;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String isdelete;

    /** 是否多选 */
    @Excel(name = "是否多选")
    private String isdouble;

    /** 因子列表 */
    @Excel(name = "因子列表")
    private String childFactorList;

    /** 因子 id */
    @Excel(name = "因子id")
    private String factorItemId;

    /** 因子标题 */
    @Excel(name = "因子标题")
    private String factorItemTitle;

    /** 因子类别id */
    @Excel(name = "因子类别id")
    private String parentCategoryId;


//    /** 因子类别id */
//    @Excel(name = "因子类别id")

    private String label;
    private String tag = "el-input";
    private String tagIcon = "input";
    private String placeholder = "不限";
    private String defaultValue;
    private int span = 24;
    private String labelWidth;
    private String style;
    private boolean clearable = true;
    private String prepend;
    private String append;
    private String maxlength;
    private boolean readonly = false;
    private boolean disabled = false;
    private boolean required = true;
    private String regList;
    private boolean changeTag = true;
    private String document = "https://element.eleme.cn/#/zh-CN/component/input";


    public void setFactorCategoryId(String factorCategoryId)
    {
        this.factorCategoryId = factorCategoryId;
    }

    public String getFactorCategoryId()
    {
        return factorCategoryId;
    }
    public void setFactorCategoryTitle(String factorCategoryTitle)
    {
        this.factorCategoryTitle = factorCategoryTitle;
    }

    public String getFactorCategoryTitle()
    {
        return factorCategoryTitle;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setIsdelete(String isdelete)
    {
        this.isdelete = isdelete;
    }

    public String getIsdelete()
    {
        return isdelete;
    }
    public void setIsdouble(String isdouble)
    {
        this.isdouble = isdouble;
    }

    public String getIsdouble()
    {
        return isdouble;
    }

    public void setfactorItemId(String factorItemId)
    {
        this.factorItemId = factorItemId;
    }
    public String getfactorItemId() {
        return factorItemId;
    }

    public void setFactorItemTitle(String factorItemTitle) {
        this.factorItemTitle = factorItemTitle;
        this.label = factorItemTitle;
    }
    public String getFactorItemTitle() {
        return factorItemTitle;
    }

    public void setParentCategoryId(String parentCategoryId) {
        this.parentCategoryId = parentCategoryId;
    }

    public String getParentCategoryId() {
        return parentCategoryId;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
        this.label = this.factorItemTitle;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getTagIcon() {
        return tagIcon;
    }

    public void setTagIcon(String tagIcon) {
        this.tagIcon = tagIcon;
    }

    public String getPlaceholder() {
        return placeholder;
    }

    public void setPlaceholder(String placeholder) {
        this.placeholder = placeholder;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }

    public int getSpan() {
        return span;
    }

    public void setSpan(int span) {
        this.span = span;
    }

    public String getLabelWidth() {
        return labelWidth;
    }

    public void setLabelWidth(String labelWidth) {
        this.labelWidth = labelWidth;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    public boolean getClearable() {
        return clearable;
    }

    public void setClearable(boolean clearable) {
        this.clearable = clearable;
    }

    public String getPrepend() {
        return prepend;
    }

    public void setPrepend(String prepend) {
        this.prepend = prepend;
    }

    public String getAppend() {
        return append;
    }

    public void setAppend(String append) {
        this.append = append;
    }

    public String getMaxlength() {
        return maxlength;
    }

    public void setMaxlength(String maxlength) {
        this.maxlength = maxlength;
    }

    public boolean getReadonly() {
        return readonly;
    }

    public void setReadonly(boolean readonly) {
        this.readonly = readonly;
    }

    public boolean getDisabled() {
        return disabled;
    }

    public void setDisabled(boolean disabled) {
        this.disabled = disabled;
    }

    public boolean getRequired() {
        return required;
    }

    public void setRequired(boolean required) {
        this.required = required;
    }

    public String getRegList() {
        return regList;
    }

    public void setRegList(String regList) {
        this.regList = regList;
    }

    public boolean isChangeTag() {
        return changeTag;
    }

    public void setChangeTag(boolean changeTag) {
        this.changeTag = changeTag;
    }

    public String getDocument() {
        return document;
    }

    public void setDocument(String document) {
        this.document = document;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("factorCategoryId", getFactorCategoryId())
                .append("factorCategoryTitle", getFactorCategoryTitle())
                .append("sort", getSort())
                .append("isdelete", getIsdelete())
                .append("isdouble", getIsdouble())
                .append("factorItemId",getfactorItemId())
                .append("factorItemTitle",getFactorItemTitle())
                .append("parentCategoryId",getParentCategoryId())
                .toString();
    }
}
